﻿//Author:Michal Sporna
//License: https://operationsneakpeek.codeplex.com/license

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;

namespace Util.Classes
{
    //represents wire color
    public class BombWire
    {
        #region properties
        public int ID;
        public string Color;
        public string Texture;
        public bool DefusingWire;//if set to true, this wire is the one that defuses the bomb
        public double Width;
        public double Height;
        public int DissolveSpeed;
        //helps to choose random wire from the collection of wires
        public int[] RandomizingWeight;
        #endregion

        #region helpers
        public Vector2 CurrentPosition;
        public bool CurrentPositionAssigned;
        public bool PlayerCutting; //if true, then player thinks that this is the one that defuses the bomb


        #endregion

        #region methods

        public BombWire()
        {
            ID = -1;
            Color = string.Empty;
            Texture = string.Empty;
            DefusingWire = false;
            RandomizingWeight = World.BombHandler.CreateNumber(5); //get 10 random numbers
        
        }

      



        #endregion


    }
}
